package com.cz.zslu.common;

import javax.servlet.ServletRequest;
import java.util.Enumeration;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

/**
 * 工具类
 *
 * @author Bruce
 * @create 2019-06-26
 **/
public class ListUtil {


    /**
     * 集合去重子集合
     *
     * @param alist
     * @param blist
     * @return
     */
    public static List removeDuplicate(List alist, List blist) {
        for (int i = 0; i <alist.size(); i++) {
            for (int j = 0; j <blist.size(); j++) {
                if (blist.get(j).equals(alist.get(i))) {
                    alist.remove(j);
                }
            }
        }
        return alist;
    }
}
